<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Menu</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SpiderBasic - Menu</font></b></p>

<p><b>Overview</b></p><blockquote>





Creating and managing menus in PureBasic is simple. You can, of course, tailor the menus to your specific needs. 
<br>
<br>
To use a menu you must first start by creating one with either <a href="createmenu.html">CreateMenu()</a> for normal 
menus, or <a href="createpopupmenu.html">CreatePopupMenu()</a> for pop-up menus. 
<br>
<br>
<b>Mac OSX:</b> 
<br>
There are predefined menu events <font color="#924B72">#PB_Menu_Quit</font>, <font color="#924B72">#PB_Menu_About</font> and <font color="#924B72">#PB_Menu_Preferences</font> 
to represent the entries in the application menu which is present on every OSX program. Their values are negative to not conflict with any 
menu entries defined in the program. They are reported from <a href="../window/eventmenu.html">EventMenu()</a> as regular menu events. 

 

</blockquote><p><b>Command Index</b><blockquote>
<a href="bindmenuevent.html">BindMenuEvent</a><br>
<a href="closesubmenu.html">CloseSubMenu</a><br>
<a href="createimagemenu.html">CreateImageMenu</a><br>
<a href="createmenu.html">CreateMenu</a><br>
<a href="createpopupimagemenu.html">CreatePopupImageMenu</a><br>
<a href="createpopupmenu.html">CreatePopupMenu</a><br>
<a href="disablemenuitem.html">DisableMenuItem</a><br>
<a href="displaypopupmenu.html">DisplayPopupMenu</a><br>
<a href="freemenu.html">FreeMenu</a><br>
<a href="getmenuitemstate.html">GetMenuItemState</a><br>
<a href="getmenuitemtext.html">GetMenuItemText</a><br>
<a href="getmenutitletext.html">GetMenuTitleText</a><br>
<a href="hidemenu.html">HideMenu</a><br>
<a href="ismenu.html">IsMenu</a><br>
<a href="menubar.html">MenuBar</a><br>
<a href="menuheight.html">MenuHeight</a><br>
<a href="menuid.html">MenuID</a><br>
<a href="menuitem.html">MenuItem</a><br>
<a href="menutitle.html">MenuTitle</a><br>
<a href="opensubmenu.html">OpenSubMenu</a><br>
<a href="setmenuitemstate.html">SetMenuItemState</a><br>
<a href="setmenuitemtext.html">SetMenuItemText</a><br>
<a href="setmenutitletext.html">SetMenuTitleText</a><br>
<a href="unbindmenuevent.html">UnbindMenuEvent</a><br>
</blockquote></p>

<p><b>Example</b></p><blockquote>
<a href="../Examples/Menu.pb.html">Menu.pb</a>
<br><a href="../Examples/PopupMenu.pb.html">PopupMenu.pb</a>

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center><a href=../reference/reference.html>Reference Manual - Index</a></center>

</body></html>